/**
 * ******************************************************************************************************
 * @App: dc
 * @author: alisa
 * @module: SharedComponentsModule
 *
 * @descriptions:
 *  该模块用于存放所有的公用组件
 *  PieChartComponent: 饼图
 *  LineChartComponent: 动态折线图
 *  EventTableComponent: table
 *  LoadingComponent: loading动画
 *  ErrMsgComponent: 表单错误提示信息
 *
 * ******************************************************************************************************
 */
import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
// echarts
import { NgxEchartsModule } from 'ngx-echarts';
import {PopoverModule} from 'ngx-bootstrap/popover';

import { PieChartComponent } from './pie-chart/pie-chart.component';
import { LineChartComponent } from './line-chart/line-chart.component';
import { EventTableComponent } from './event-table/event-table.component';
import { AngularMaterialModule } from '../angular-material/angular-material.module';
import { LoadingComponent } from "./loading/loading.component";
import { ErrHintComponent } from './err-hint/err-hint.component';
import { PopoverComponent } from './popover/popover.component';
import { ErrMsgComponent } from "./err-msg/err-msg.component";

@NgModule({
  imports: [
    CommonModule,
    NgxEchartsModule,
    AngularMaterialModule,
    PopoverModule.forRoot()
  ],
  declarations: [PieChartComponent, LineChartComponent, ErrHintComponent, EventTableComponent, LoadingComponent, ErrMsgComponent,PopoverComponent],
  exports: [PieChartComponent, LineChartComponent, EventTableComponent, LoadingComponent, ErrMsgComponent,ErrHintComponent,PopoverComponent]
})
export class SharedComponentsModule {
}
